﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Sisocana.Core.Models.PersonaDesaparecidaModel>" %>

    <fieldset>
        <legend>Name</legend>
        <%= Html.FieldFor(model => model.nombre)%>
        <%= Html.FieldFor(model => model.apellido)%>
    </fieldset>
    <fieldset>
        <legend>Person's characteristics</legend>

        <%= Html.FieldFor(model => model.edad)%>

        <%= Html.Div("editor-label", Html.LabelFor(model => model.sexo)) %>
         <select id="Persona.sexo" name="Persona.sexo">
            <option selected="selected"></option>
            <option value="M">Male</option>
            <option value="F">Female</option>
        </select>
        <%= Html.ValidationMessageFor(model => Model.sexo) %>
        
        <%= Html.Div("editor-label", Html.LabelFor(model => model.descripcion)) %>
        <%= Html.Div("editor-field", Html.TextAreaFor(model => model.descripcion)) %>
        <%= Html.ValidationMessageFor(model => Model.descripcion) %>
    </fieldset>
    <fieldset>
        <legend>Other information</legend>
        <%= Html.FieldFor(model => model.celular)%>
        
        <div class="editor-label">
            <label for="Persona_fecha">Last time seen</label>
        </div>
        <div class="editor-field">
            <%= Html.EditorFor(model => model.fecha) %>
        </div>
        <%= Html.ValidationMessageFor(model => model.fecha)%>
    </fieldset>